<script type="text/javascript">
	$(function() {
	    $.fn.dataGridOptions.formSubFun("#form",'/modules/additional/movieTicket/doMovieTicketEdit.html',"修改成功！","修改失败！");
	});
</script>
<style>
.hide{display:none;}
.sForm .ipt{margin-left:155px;}
.sForm .ipt1{margin-bottom:20px;margin-left:155px;}
.sForm .lab{width:139px;}
</style>
<div class="popForm sForm">
    <form id="form"  method="post">
        
    	<div class="formitm">
		     <label class="lab">电影票规则名称：</label>
		     <div class="ipt">
		     	<input type="text" name="name" class="w200 easyui-validatebox" data-options="required: true" maxlength="10"  value="${movieTicketRule.name!}"/>
		     	<b>*</b>
		     </div>
		</div>
		<div class="formitm">
		     <label class="lab">是否启用：</label>
		     <div class="ipt">
		     	<input type="radio" id="status" class="xj-hongbao" value="0" name="status"  <#if movieTicketRule.status == 0>checked="checked"</#if>>启用
		     	<input type="radio" id="status" class="xn-hongbao" value="1" name="status" <#if movieTicketRule.status == 1>checked="checked"</#if>>不启用
		     </div>
		</div>
		<div class="formitm">
			<label class="lab">赠送电影票个数：</label>
			<div class="ipt">
				<input type="text" name="count" class="w200 easyui-validatebox" date-options="required: true" value="${movieTicketRule.count!}" maxlength="2">
				<b>*</b>
			</div>
		</div>
		<div class="formitm">
			<label class="lab">电影票规则有效期：</label>
			<div class="ipt">
				<input type="text" name="validDay" id="day" class="w200 easyui-validatebox" data-options="required: true"  maxlength="10" value="${movieTicketRule.validDay!}"/>天
				<b>*</b>
			</div>
		</div>
		<div class="formitm">
			 <label class="lab">电影票规则描述：</label>
			 <div class="ipt">
				<textarea rows="3" cols="50" maxlength="250" name="description">${movieTicketRule.description!}</textarea>
			 </div>
		</div>
		<div class="formitm">
			 <label class="lab">添加时间：</label>
			 <div class="ipt">
				${movieTicketRule.createTime!}
			 </div>
		</div>
		<input type="hidden" name="addTime" value="<#if movieTicketRule.addTime?? >${movieTicketRule.addTime?string('yyyy-MM-dd HH:mm:ss')}</#if>">
		<input type="hidden" name="id" value="${movieTicketRule.id!}">
	</form>
</div>